@extends('admin.public.layout')
@section('title', '修改密码')

@section('css')

@endsection

@section('content')
    <div class="row">
        <div class="col-lg-12">
            <div class="card">
                <div class="card-body">
                    <form action="{{url('admin/admin/reset_pwd')}}" method="post">
                        <input type="hidden" id="id" name="id" value="{{$id}}"/>
                        <div class="form-group">
                            <label for="example-text-input">用户名</label>
                            <input class="form-control" type="text" name="name" placeholder="请输入用户名" value="{{$name}}" max="20" readonly>
                        </div>
                        <div class="form-group">
                            <label for="example-text-input">姓名</label>
                            <input class="form-control" type="text" name="true_name" placeholder="请输入姓名" value="{{$true_name}}" max="20" readonly>
                        </div>
                        <div class="form-group">
                            <label for="example-text-input"><span style="color:red;">*</span>&nbsp;新密码</label>
                            <input class="form-control" type="text" name="new_pwd" value="{{$passwd}}" readonly>
                            <small class="help-block">新密码，后台自动生成，请妥善保存</small>
                        </div>
                        <div class="form-group">
                            <button class="btn btn-primary submitForm" type="button">保存</button>
                            <button class="btn btn-secondary" type="button" onclick="layer.closeAll();">关闭</button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
@endsection

@section('js')

@endsection